﻿using AutoMapper;
using OrderService.Model;
using ProductService.Services.Dtos;

namespace OrderService.ObjectMapping;

public class OrderServiceAutoMapperProfile : Profile
{
    public OrderServiceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */
        CreateMap<Order, OrderDto>().ReverseMap();
        CreateMap<OrderItem, OrderItemDto>().ReverseMap();
    }
}
